<?php
declare (strict_types=1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 * 问题答案表
 */
class IssueQuestionAnswer extends AppModel
{
    //


    const ISSUE_ANSWER_TYPE_ONE_STRING = '继续';
    const ISSUE_ANSWER_TYPE_TWO_STRING = '终止';
    const ISSUE_ANSWER_TYPE_THREE_STRING = '跳题';
    const ISSUE_ANSWER_TYPE_ONE = 1;
    const ISSUE_ANSWER_TYPE_TWO = 2;
    const ISSUE_ANSWER_TYPE_THREE = 3;

    //题目是否终止
    public static $issue_answer_type_arr = array(
        self::ISSUE_ANSWER_TYPE_ONE_STRING => 1,
        self::ISSUE_ANSWER_TYPE_TWO_STRING => 2,
        self::ISSUE_ANSWER_TYPE_THREE_STRING => 3
    );
    public static $issue_answer_type_arr_string = array(
        self::ISSUE_ANSWER_TYPE_ONE => '继续',
        self::ISSUE_ANSWER_TYPE_TWO => '终止',
        self::ISSUE_ANSWER_TYPE_THREE => '跳题'
    );


    const IS_WRITE_ZERO_STRING = '需要';
    const IS_WRITE_ONE_STRING = '不需要';
    const IS_WRITE_ZERO = 0;
    const IS_WRITE_ONE = 1;

    //题目是否自定义自己写
    public static $is_write_arr = array(
        self::IS_WRITE_ZERO_STRING => 0,
        self::IS_WRITE_ONE_STRING => 1
    );
    public static $is_write_arr_string = array(
        self::IS_WRITE_ZERO => '需要',
        self::IS_WRITE_ONE => '不需要'
    );


}
